package com.gopay.remote.bank.checkorder;

import java.math.BigDecimal;

import com.gopay.common.domain.cps.vo.CheckOrderResult;
import com.gopay.common.exception.GopayException;

/**
 * 国付宝对单远程接口
 * 
 * @CheckGopayOrderRemoteService.java
 * @author yaobo
 * @2013-11-6 下午02:24:07 www.gopay.com.cn Inc.All rights reserved.
 */
public interface CheckGopayOrderRemoteService {

    /**
     * 查看银行订单是否存在
     * 
     * @param gopayOutOrderIds
     *            订单号数组
     * @param amts
     *            交易金额数组
     * @return
     * @throws GopayException
     */
    public boolean isexist(String[] gopayOutOrderIds, BigDecimal[] amts) throws GopayException;

    /**
     * 手工对单
     * 
     * @param gopayOutOrderId
     *            银行订单号
     * @param operId
     *            操作者
     * @return
     * @throws GopayException
     */
    public CheckOrderResult checkOrder(String gopayOutOrderId, String operId) throws GopayException;
}
